home *** CD-ROM | disk | FTP | other *** search
- ;!! NAME CHANGE to CGMINST.INF
- ;installation and removal of the TruVoice Text-to-Speech engine by Lernout & Hauspie
- ; Last modified 6/22/97 10:00 AM by eric moore (a-emoore)
- ; New GUID's
- ; now look for install dirs before prompting
- ; added wrapcgrm.dll to the install
- ; added msagent2.inf file and entry to clean occache
- ; removed IE 3.0 check
- ; added code from magaent2.inf and removed the inf from cabinet also del runonce entry
-
- [Version]
- Signature=$CHICAGO$
- AdvancedINF=2.5,%ADVPKPMPT%
-
- [DestinationDirs]
- TTSCopy = 49005 ;49007
- TTSRemove = 49005 ;49007
- CGINFCopy = 17
- RemoveCab = 25,occache
- ;CGHLPCopy = 18
-
- [CGCustomDestination]
- ;49000 = CustomLDIDSection49000,18
- 49001,49002,49003,49004 = CustomLDIDSection49001,5
- 49005,49006,49007,49008 = CustomLDIDSection49002,5
-
- [CustomLDIDSection49000]
- HKLM,"SOFTWARE\Microsoft\Internet Explorer","Build",%IEPMPT%
-
- [CustomLDIDSection49001]
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion,ProgramFilesDir,,%24%\%PROGRAMF%
-
- [CustomLDIDSection49002]
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",%TellInstall%,
- HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",%TellInstall%,
- ,,,%AskInstall%,%49002%\%MSAGENT%
-
- [DefaultInstall]
- CustomDestination = CGCustomDestination
- RunPreSetupCommands = RunPreSetup
- CopyFiles = TTSCopy, CGINFCopy ;CGHLPCopy
- AddReg = TTSRegister
- RunPostSetupCommands = RunPostSetup
-
- [DefaultInstall.NT]
- CustomDestination = CGCustomDestination
- RunPreSetupCommands = RunPreSetup
- CopyFiles = TTSCopy, CGINFCopy ;CGHLPCopy
- AddReg = TTSRegister
- RunPostSetupCommands = RunPostSetupNT
-
- [RunPreSetup]
- cgminst.exe
-
- [RunPostSetup]
- regsvr32 /s %49007%\wrapcgrm.dll
-
- [RunPostSetupNT]
- regsvr32 /s """%49007%\wrapcgrm.dll"""
-
- [RemoveCabinet]
- DelFiles=RemoveCab
-
- [RemoveCgram]
- BeginPrompt=BeginPromptSection
- EndPrompt=EndPromptSection
- CustomDestination = UnInstallDestination
- UnregisterOCXs = UnRegisterFilesSection
- DelFiles = TTSRemove ;TTSCopy, CGHLPCopy
- DelReg = TTSUnRegister
- DelDirs = RemoveDirs
- Cleanup = 1
-
- [BeginPromptSection]
- Prompt="%AskUninstall%"
- ButtonType=YESNO
- Title="%CgramDesc%"
-
- [EndPromptSection]
- Prompt="%DoneUninstall%"
-
- [UnInstallDestination]
- 49005,49006,49007,49008 = CustomLDIDRSection49007,5
-
- ;this is used to remove the cab...
- [CustomLDIDRSection49007]
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",,
-
- [UnRegisterFilesSection]
- %49007%\wrapcgrm.dll
-
- [RemoveDirs]
- %49007%
-
- [RemoveCab]
- cgram.exe
-
- [TTSCopy]
- cgrm_enp.dll
- wrapcgrm.dll
-
- [TTSRemove]
- cgrm_enp.dll,,,1
- wrapcgrm.dll,,,1
-
- [CGHLPCopy]
- ;cgrm_enp.hlp
-
- [CGINFCopy]
- cgminst.inf
-
- [TTSRegister]
- HKCR,CLSID\{1B6BF831-9299-101B-8A19-265D428C60FF},,, "Lernout & Hauspie TruVoice"
- HKCR,CLSID\{1B6BF831-9299-101B-8A19-265D428C60FF}\InprocServer32,,, "%49007%\CGRM_ENP.DLL"
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",,%49006%
- HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice","DisplayName",,%DiskName%
- HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice","UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\cgminst.inf, RemoveCgram"
- HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice","RequiresIESysFile",,"0"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgtCgm",,"RunDll32 advpack.dll,LaunchINFSection %17%\cgminst.inf, RemoveCabinet"
-
- [TTSUnRegister]
- HKCR,CLSID\{1B6BF831-9299-101B-8A19-265D428C60FF}
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir"
- HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgtCgm"
-
- [SourceDisksNames]
- 1 = %DiskName%,TruVoice,0
-
- [SourceDisksFiles]
- cgminst.inf = 1
- cgrm_enp.dll = 1
- wrapcgram.dll = 1
- ;cgrm_enp.hlp = 1
-
- [Strings]
- SPEECH = "Speech"
- CgramDesc = "Lernout & Hauspie TruVoice Uninstall"
- DiskName = "Lernout & Hauspie TruVoice for Microsoft Agent"
- AskInstall = "Where would you like to install Microsoft Agent 1.5 and its components?"
- TellInstall = "Setup has detected Microsoft Agent components in the directory below. It is strongly recommended that you not change this path."
- AskUninstall = "Are you sure you want to remove Lernout & Hauspie TruVoice for Microsoft Agent?"
- DoneUninstall = "Lernout & Hauspie TruVoice for Microsoft Agent has been removed."
- MSAGENT = "Microsoft Agent"
- ADVPKPMPT = "The correct version of Advpack.dll was not found, installation halted."
- IEPMPT = "You need to have Microsoft Internet Explorer version 3.0 or later, installation halted."
- NOAGENTPMPT = "You must install Microsft Agent to use this Speech Component."
-
-